using System;
using System.Collections.Generic;
using System.Text;

namespace SharpPlanetsModel
{
    public class LeftShip : Ship
    {

        public LeftShip()
        {
            CenterPosition.setXAbs(0);
            CenterPosition.setYAbs(0);
            //shipImage = System.Drawing.Image.FromFile("ShipOne.png");
        }

        public LeftShip(Position pos)
        {
            this.CenterPosition = pos;
            //shipImage = System.Drawing.Image.FromFile("ShipOne.png");
            setupImage();
        }
        override protected void setupImage()
        {
            string appPath = System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase;
            appPath = System.IO.Path.GetDirectoryName(appPath) + "\\Resources";
            shipImage = new System.Drawing.Bitmap(appPath + "\\pocketShipOne.jpg");
            //planetImage = System.Drawing.Image.FromFile("mercury.png");
        }
    }

    public class RightShip : Ship
    {

        public RightShip()
        {
            CenterPosition.setXAbs(0);
            CenterPosition.setYAbs(0);
            //shipImage = System.Drawing.Image.FromFile("ShipTwo.png");
        }

        public RightShip(Position pos)
        {
            this.CenterPosition = pos;
            //shipImage = System.Drawing.Image.FromFile("ShipTwo.png");
            setupImage();
        }

        override protected void setupImage()
        {
            string appPath = System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase;
            appPath = System.IO.Path.GetDirectoryName(appPath) + "\\Resources";
            shipImage = new System.Drawing.Bitmap(appPath + "\\pocketShipTwo.jpg");
            //planetImage = System.Drawing.Image.FromFile("mercury.png");
        }
    }
}
